package com.jian.java.mapper;

import com.jian.java.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Jiange
 * @create 2021-05-06-13:18
 */
@Mapper
@Repository
public interface UserMapper {
    List<User> getAll();

    User getByUsername(String name);
}
